package com.yami.shop.nftaccount.common.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

@Data
@TableName("tz_nft_asset_settle")
public class NftAssetSettle {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String denomId;

    private String tokenId;
    
    private String fromMnemonic;

    private String fromAddress;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String toUserId;
    
    private String toAddress;

    /**
     * 状态 0对账中 1待交割 2链上请求成功 3资产交割失败 4存在异常 5成功
     */
    private Integer status;

    private String errorMsg;

    /**
     * 结算日期
     */
    private Date settleTime;

    private Long prodId;

    private String chainCode;

    private Date createTime;

    private Date updateTime;

    private String operationId;


}
